package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 商品批发表
 * gaodo(BulkMerchant)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:03
 */
@Data
public class BulkMerchant extends Model<BulkMerchant> {
    //商家批发表的id
    private Integer id;
    //标题；标题类可供提示简要信息或搜索用
    private String title;
    //副标题
    private String subTitle;
    //对应商家表的商家id，保留id（有多家商户，每个商户只能看自己的批发订单，方便查询）和当时接收人联系情况方便确认情况（追责）
    private Integer merchantId;
    //该订单总共有多少种货物（关联多少条批发详情）
    private Integer count;
    //该批发订单总金额
    private Double total;
    //商家联系人姓名
    private String merchantName;
    //商家联系电话
    private String merchantPhone;
    //商家地址
    private String merchantAddress;
    //供应商id
    private Integer supplyId;
    //供应商姓名
    private String supplyName;
    //供应商电话
    private String supplyPhone;
    //供货商收款银行卡账号
    private String supplyAccount;
    //发货时间
    private Date shippingTime;
    //签收时间
    private Date deliveryTime;
    //批发的订单说明
    private String detail;
    //备注
    private String remark;

    private Integer createUserId;

    private Integer updateUserId;

    private Date createTime;

    private Date updateTime;

    private String isDeleted;

    private Integer version;
    //订单状态
    private String status;

    private String statusOne;

    private String statusTwo;

    private String delivery;

    private String orderNo;

    //订单详情列表
    private List<BulkGoodsDetail> detailList;
}
